package android.demo.library;

import android.app.ListActivity;
import android.database.Cursor;
import android.demo.library.model.Library;

public class ReturnBookActivity extends ListBookActivity{

	@Override
	protected Cursor getBookCursor() {
		return Library.getInstance().getLoanedBooks();
	}

	@Override
	protected void onBookChosen(long id) {
		Library.getInstance().returnBook(id);
	}
}
